package common;

import java.util.ResourceBundle;

/**
 * ConfigUtils工具类用于从配置文件中获取指定的键值
 * 
 * @author jason 2009-10-15
 * @since 1.0
 */
public class ConfigUtils {

	/** appConfig ResourceBundle 应用配置资源束 */
	private static final ResourceBundle appConfig = ResourceBundle
			.getBundle("app");

	/**
	 * 从app.properties中读取配置信息
	 * 
	 * @param key
	 * @return
	 */
	public static String getAppConfig(String key) {
		return appConfig.getString(key);
	}

}
